package com.doujiao.core.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyunbin
 * @since 2025-05-24
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("admin_menu")
public class AdminMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long groupId;

    private String name;

    private Long parentId;

    private String permission;

    private String title;

    private String url;

    private List<AdminMenu> children;

    public void setChildren(List<AdminMenu> children) {
        this.children = children;
    }
}
